Skip to content

ui: prevent disabled button on non editable amount sideshift#451

Merged
Klakurka merged 1 commit intomasterfrom
ui-fix-sideshift-disabled-button
Jan 28, 2025
Merged

ui: prevent disabled button on non editable amount sideshift#451
Klakurka merged 1 commit intomasterfrom
ui-fix-sideshift-disabled-button

Conversation

@johnkuney
Copy link
Collaborator

Related to #187

Description

Prevent the button in the sideshift flow from being disabled if the paybutton amount is not editable.

My understanding is 'pairAmount' is not used if 'altpaymentEditable' is not enabled. Its coming in undefined, so just ignoring it if its not altpaymentEditable

Test plan

Try out the sideshift with a editable and non editable amount button

@Klakurka Klakurka self-requested a review January 28, 2025 04:42
@Klakurka Klakurka merged commit 3352668 into master Jan 28, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants